<template>
  <div>
    <p>我是Com模板</p>
    <h2 id="nice">{{ name }}</h2>
  </div>
</template>
<script>
export default {
  name: "Com",
  data() {
    return {
      name: "嘿嘿",
    };
  },
};
</script>
<style scoped>
.nice {
  color: green;
}
</style>
